/**
 * 
 */
package com.eej.act.obj;

/**
 * 
 * 		<key>Grupo</key>
		<string></string>
		<key>Izena</key>
		<string>Getaria-Tolosa</string>
		<key>Helbidea1</key>
		<string>Getaria</string>
		<key>Helbidea2</key>
		<string>GIPUZKOA</string>
		<key>Helbidea3</key>
		<string></string>
		<key>Telefonoa</key>
		<string></string>
		<key>Emaila</key>
		<string></string>
		<key>Web</key>
		<string></string>
		<key>Argazkia</key>
		<string></string>
		<key>Logo</key>
		<string></string>
		<key>Arraunlariak</key>
 * 
 * @author jlumietu
 *
 */
public class Taldea {

	String grupo;
	String izena;
	String helbidea1;
	String helbidea2;
	String helbidea3;
	String telefonoa;
	String emaila;
	String web;
	String argazkia;
	String logo;
	ListaArraunlaria arraunlariak;
	
	
	
	/**
	 * 
	 */
	public Taldea() {
		super();
		// TODO Auto-generated constructor stub
		this.arraunlariak = new ListaArraunlaria();
	}
	/**
	 * @return the grupo
	 */
	public String getGrupo() {
		return grupo;
	}
	/**
	 * @param grupo the grupo to set
	 */
	public void setGrupo(String grupo) {
		this.grupo = grupo;
	}
	/**
	 * @return the izena
	 */
	public String getIzena() {
		return izena;
	}
	/**
	 * @param izena the izena to set
	 */
	public void setIzena(String izena) {
		this.izena = izena;
	}
	/**
	 * @return the helbidea1
	 */
	public String getHelbidea1() {
		return helbidea1;
	}
	/**
	 * @param helbidea1 the helbidea1 to set
	 */
	public void setHelbidea1(String helbidea1) {
		this.helbidea1 = helbidea1;
	}
	/**
	 * @return the helbidea2
	 */
	public String getHelbidea2() {
		return helbidea2;
	}
	/**
	 * @param helbidea2 the helbidea2 to set
	 */
	public void setHelbidea2(String helbidea2) {
		this.helbidea2 = helbidea2;
	}
	/**
	 * @return the helbidea3
	 */
	public String getHelbidea3() {
		return helbidea3;
	}
	/**
	 * @param helbidea3 the helbidea3 to set
	 */
	public void setHelbidea3(String helbidea3) {
		this.helbidea3 = helbidea3;
	}
	/**
	 * @return the telefonoa
	 */
	public String getTelefonoa() {
		return telefonoa;
	}
	/**
	 * @param telefonoa the telefonoa to set
	 */
	public void setTelefonoa(String telefonoa) {
		this.telefonoa = telefonoa;
	}
	/**
	 * @return the emaila
	 */
	public String getEmaila() {
		return emaila;
	}
	/**
	 * @param emaila the emaila to set
	 */
	public void setEmaila(String emaila) {
		this.emaila = emaila;
	}
	/**
	 * @return the web
	 */
	public String getWeb() {
		return web;
	}
	/**
	 * @param web the web to set
	 */
	public void setWeb(String web) {
		this.web = web;
	}
	/**
	 * @return the argazkia
	 */
	public String getArgazkia() {
		return argazkia;
	}
	/**
	 * @param argazkia the argazkia to set
	 */
	public void setArgazkia(String argazkia) {
		this.argazkia = argazkia;
	}
	/**
	 * @return the logo
	 */
	public String getLogo() {
		return logo;
	}
	/**
	 * @param logo the logo to set
	 */
	public void setLogo(String logo) {
		this.logo = logo;
	}
	/**
	 * @return the arraunlariak
	 */
	public ListaArraunlaria getArraunlariak() {
		return arraunlariak;
	}
	/**
	 * @param arraunlariak the arraunlariak to set
	 */
	public void setArraunlariak(ListaArraunlaria arraunlariak) {
		this.arraunlariak = arraunlariak;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		StringBuffer sb = new StringBuffer();
		
		return sb.toString();
	}
	
	/**
	 * 
	 * @return
	 */
	public String getStringRepresentation(){
		StringBuffer sb = new StringBuffer();
		sb.append("Argazkia: " + this.getArgazkia() + "\n");
		sb.append("Izena: " + this.getIzena() + "\n");
		sb.append("Grupo: " + this.getGrupo() + "\n");
		sb.append("Helbidea1: " + this.getHelbidea1() + "\n");
		sb.append("Helbidea2: " + this.getHelbidea2() + "\n");
		sb.append("Helbidea3: " + this.getHelbidea3() + "\n");
		sb.append("Telefonoa: " + this.getTelefonoa() + "\n");
		sb.append("Emaila: " + this.getEmaila() + "\n");
		sb.append("Logo: " + this.getLogo() + "\n");
		sb.append("Web: " + this.getWeb() + "\n");
		sb.append(this.getArraunlariak().getStringRepresentation() + "/n");	
		sb.append("------------------------------------------------\n");
		return sb.toString();
	}
	
	
	
}
